package com.yyge.service;

import com.yyge.controller.mobile.cart.req.MobileCartAddReq;
import com.yyge.controller.mobile.cart.resp.MobileAddCartNumReq;
import com.yyge.controller.mobile.cart.resp.MobileCartResp;
import com.yyge.controller.mobile.category.resp.MobileCategoryResp;
import com.yyge.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author Administrator
* @description 针对表【shopping_cart(购物车)】的数据库操作Service
* @createDate 2023-07-02 20:36:22
*/
public interface ShoppingCartService extends IService<ShoppingCart> {

    List<MobileCartResp> findByMerchantId(Long id);

    Integer cartAdd(MobileCartAddReq req);

    Integer addCarNumApi(MobileAddCartNumReq req);

    Integer subCarNumApi(Long dishFlavorId);
}
